export class ColorUtil {
  // ColorUtil 类的实现
  public getCellBackgroundColor(cellValue: number) {
    switch (cellValue) {
      case 2:
        return "#F3E5AB";
      case 4:
        return "#F1CF7D";
      case 8:
        return "#F0B44D";
      case 16:
        return "#EFA32E";
      case 32:
        return "#EF8B16";
      case 64:
        return "#F26179";
      case 128:
        return "#F25C9B";
      case 256:
        return "#C04C9D";
      case 512:
        return "#926CB8";
      case 1024:
        return "#6A8FC7";
      case 2048:
        return "#38B2D2";
      case 4096:
        return "#2AC6C0";
      case 8192:
        return "#5EB59D";
      default:
        return "#c3b0bec5"; // 淡灰色
    }
  }
}